﻿#include "FITKAbaProfileI.h"


Interface::FITKAbaProfile::FITKAbaProfileShape Interface::FITKAbaProfileI::getShape() const
{
    return Interface::FITKAbaProfile::FITKAbaProfileShape::I;
}

bool Interface::FITKAbaProfileI::copy(FITKAbstractDataObject* obj)
{
    FITKAbaProfileI* objProfile = dynamic_cast<FITKAbaProfileI*>(obj);
    if (objProfile == nullptr)
        return false;
    this->setDataObjectName(objProfile->getDataObjectName());
    this->setI(objProfile->getI());
    this->seth(objProfile->geth());
    this->setb1(objProfile->getb1());
    this->setb2(objProfile->getb2());
    this->sett1(objProfile->gett1());
    this->sett2(objProfile->gett2());
    this->sett3(objProfile->gett3());
    return true;
}

double Interface::FITKAbaProfileI::getI() const
{
    return m_I;
}

double Interface::FITKAbaProfileI::geth() const
{
    return m_h;
}

double Interface::FITKAbaProfileI::getb1() const
{
    return m_b1;
}

double Interface::FITKAbaProfileI::getb2() const
{
    return m_b2;
}

double Interface::FITKAbaProfileI::gett1() const
{
    return m_t1;
}

double Interface::FITKAbaProfileI::gett2() const
{
    return m_t2;
}

double Interface::FITKAbaProfileI::gett3() const
{
    return m_t3;
}

void Interface::FITKAbaProfileI::setI(double value)
{
    m_I = value;
}

void Interface::FITKAbaProfileI::seth(double value)
{
    m_h = value;
}

void Interface::FITKAbaProfileI::setb1(double value)
{
    m_b1 = value;
}

void Interface::FITKAbaProfileI::setb2(double value)
{
    m_b2 = value;
}

void Interface::FITKAbaProfileI::sett1(double value)
{
    m_t1 = value;
}

void Interface::FITKAbaProfileI::sett2(double value)
{
    m_t2 = value;
}

void Interface::FITKAbaProfileI::sett3(double value)
{
    m_t3 = value;
}
